package com.mrjy.live.bo;

import java.util.Map;

import com.mrjy.common.entity.WisLessonInfo;
import com.mrjy.common.entity.UserInfo;


public interface IWisLessonInfoBo {
	
	//查询直播课程
	public Map<String, Object> queryLessons(WisLessonInfo wisLessonInfo,
			UserInfo userInfo);
	
	//添加课程
	public Object addLesson(WisLessonInfo wisLessonInfo, UserInfo userInfo);
	
	//删除课程根据编号
	public void txDeleteLessonByLessonCode(WisLessonInfo wisLessonInfo);
	
	//删除课程根据id
	public Object deleteLessonById(WisLessonInfo wisLessonInfo);
	
	//查找课程根据老师id
	public Map<String, Object> queryLessonByTeacherId(WisLessonInfo wisLessonInfo,
			UserInfo userInfo);
	
	//查找老师根据学校id
	public Map<String, Object> queryTeachers(WisLessonInfo wisLessonInfo);

	//更新课程信息根据code
	public Object updateLessonByCode(WisLessonInfo wisLessonInfo);
	
	//更新课程在线人数
	public Object updateOnlinePeople(WisLessonInfo wisLessonInfo);
	
	//查询课程信息
	public Object queryByLessonCode(WisLessonInfo wisLessonInfo);
		

	//查询在线人数和限制人数
	public Object queryLimitByLessonCode(WisLessonInfo wisLessonInfo);
	
	public Object checkRoomTime(WisLessonInfo wisLessonInfo);

}
